package com.tyl.service.bill;

import com.tyl.pojo.Bill;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface BillService {
    /**
     * 获取订单列表
     * **/
    List<Bill> getBillList(Bill bill) throws SQLException;

    /**
     * 获取去订单id
     * **/
    public  Bill getBillId(String billId) throws SQLException;

    /**
     * 删除订单
     * **/
    int deleteBill(String billId) throws SQLException;


    /**
     * 添加订单
     * **/
    int addBill(Bill bill) throws SQLException;

    /**
     * 修改订单
     * **/
    int updateBill(Bill bill) throws SQLException;
}
